
name = "itheima is a brand of itcast"
count = 0
for x in name:
    if x == 'a':
        count += 1

print (f"被统计的a字母有{count}")